package JAVA基础.Scanner语法;

import java.util.Scanner;

public class text1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个int整型：");
        int a = sc.nextInt();
        System.out.println("请输入第二个int整型：");
        int b = sc.nextInt();

        System.out.println("sum和为" + (a + b));

    }

}
